package com.sprite.utils.http;

import java.io.IOException;
import java.io.OutputStream;

/**
 * Http Request content
 *
 * @author Jack
 */
public interface RequestPayload {

    void writePayload(OutputStream outputStream) throws IOException;

    /**
     * 获取 content type
     *
     * @return
     * @since 1.2.4
     */
    ContentType getContentType();

}
